Write secure, performant, and optimized database queries using parameterized queries, eager loading, proper indexing, and transaction management. Use this skill when writing database queries in controllers, repositories, services, or model methods, when using query builders or ORM methods, when implementing filtering/sorting/pagination logic, when optimizing N+1 query problems with eager loading, when working with joins and complex queries, when implementing query caching, or when wrapping related operations in database transactions.
3.1
Rating
0
Installs
Backend Development
Category
The description is comprehensive and clearly identifies when to use the skill for database query scenarios. However, the skill provides virtually no actionable task knowledge - it only references an external file (../../../agent-os/standards/backend/queries.md) without embedding any actual guidance, patterns, or code examples. While the structure is clean, the skill is essentially a pointer to external documentation rather than a self-contained capability. The novelty is moderate since query optimization is valuable but common. A CLI agent would gain little advantage from this skill in its current form, as it would need to access the referenced file to obtain any useful information about writing secure and performant queries.
Loading SKILL.md…